package com.blrs.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 往来信息对象 communication
 * 
 * @author ruoyi
 * @date 2024-03-01
 */
public class Communication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 合同编号 */
    @Excel(name = "合同编号")
    private String contractNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 付款银行 */
    @Excel(name = "付款银行")
    private String payingBank;

    /** 付款账号 */
    @Excel(name = "付款账号")
    private String paymentAccount;

    /** 款项 */
    @Excel(name = "款项")
    private String payment;

    /** 付款金额 */
    @Excel(name = "付款金额")
    private BigDecimal paymentMoney;

    /** 付款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "付款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentTime;

    /** 收款银行 */
    @Excel(name = "收款银行")
    private String receivingBank;

    /** 收款账号 */
    @Excel(name = "收款账号")
    private String receivingAccount;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 确认人id */
    private Long confirmId;

    /** 确认人姓名 */
    @Excel(name = "确认人姓名")
    private String confirmName;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    /** 操作人id */
    private Long operateId;

    /** 部门id */
    private Long departmentId;

    /** 部门名称 */
    private String departmentName;

    /** 组织机构id */
    private Long organizationId;

    /** 组织机构名称 */
    private String organizationName;

    /** 创建时间 */
    private Date creationTime;

    /** 修改时间 */
    private Date operateTime;

    /** 创建人id */
    private Long createId;

    /** 分类id */
    private String classificationId;

    /** 归属于 */
    private Long belongTo;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setContractNo(String contractNo) 
    {
        this.contractNo = contractNo;
    }

    public String getContractNo() 
    {
        return contractNo;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setPayingBank(String payingBank) 
    {
        this.payingBank = payingBank;
    }

    public String getPayingBank() 
    {
        return payingBank;
    }
    public void setPaymentAccount(String paymentAccount) 
    {
        this.paymentAccount = paymentAccount;
    }

    public String getPaymentAccount() 
    {
        return paymentAccount;
    }
    public void setPayment(String payment) 
    {
        this.payment = payment;
    }

    public String getPayment() 
    {
        return payment;
    }
    public void setPaymentMoney(BigDecimal paymentMoney) 
    {
        this.paymentMoney = paymentMoney;
    }

    public BigDecimal getPaymentMoney() 
    {
        return paymentMoney;
    }
    public void setPaymentTime(Date paymentTime) 
    {
        this.paymentTime = paymentTime;
    }

    public Date getPaymentTime() 
    {
        return paymentTime;
    }
    public void setReceivingBank(String receivingBank) 
    {
        this.receivingBank = receivingBank;
    }

    public String getReceivingBank() 
    {
        return receivingBank;
    }
    public void setReceivingAccount(String receivingAccount) 
    {
        this.receivingAccount = receivingAccount;
    }

    public String getReceivingAccount() 
    {
        return receivingAccount;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setConfirmId(Long confirmId) 
    {
        this.confirmId = confirmId;
    }

    public Long getConfirmId() 
    {
        return confirmId;
    }
    public void setConfirmName(String confirmName) 
    {
        this.confirmName = confirmName;
    }

    public String getConfirmName() 
    {
        return confirmName;
    }
    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }
    public void setOperateId(Long operateId) 
    {
        this.operateId = operateId;
    }

    public Long getOperateId() 
    {
        return operateId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }
    public void setOrganizationId(Long organizationId) 
    {
        this.organizationId = organizationId;
    }

    public Long getOrganizationId() 
    {
        return organizationId;
    }
    public void setOrganizationName(String organizationName) 
    {
        this.organizationName = organizationName;
    }

    public String getOrganizationName() 
    {
        return organizationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }
    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setClassificationId(String classificationId) 
    {
        this.classificationId = classificationId;
    }

    public String getClassificationId() 
    {
        return classificationId;
    }
    public void setBelongTo(Long belongTo)
    {
        this.belongTo = belongTo;
    }

    public Long getBelongTo()
    {
        return belongTo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("contractNo", getContractNo())
            .append("projectName", getProjectName())
            .append("payingBank", getPayingBank())
            .append("paymentAccount", getPaymentAccount())
            .append("payment", getPayment())
            .append("paymentMoney", getPaymentMoney())
            .append("paymentTime", getPaymentTime())
            .append("receivingBank", getReceivingBank())
            .append("receivingAccount", getReceivingAccount())
            .append("status", getStatus())
            .append("confirmId", getConfirmId())
            .append("confirmName", getConfirmName())
            .append("notes", getNotes())
            .append("operateId", getOperateId())
            .append("departmentId", getDepartmentId())
            .append("departmentName", getDepartmentName())
            .append("organizationId", getOrganizationId())
            .append("organizationName", getOrganizationName())
            .append("creationTime", getCreationTime())
            .append("operateTime", getOperateTime())
            .append("createId", getCreateId())
            .append("classificationId", getClassificationId())
            .append("belongTo", getBelongTo())
            .toString();
    }
}
